cmake_minimum_required(VERSION 3.18)

add_definitions(-DUNICODE -D_UNICODE)

project(ModelView)

if (MSVC)
	set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG")
	set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG")
	set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
endif()

set(CMAKE_INCLUDE_CURRENT_DIR ON)

add_subdirectory(ModelView)